package com.lahuan.demo.service;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lahuan.demo.entity.TestStudent;

import java.util.List;

/**
* <p>
* 学生服务类
* </p>
* @author lahuan
* @since 2021-12-04
*/
public interface TestStudentService extends IService< TestStudent> {
    /**
     * 全部
     * @return
     */
    List<TestStudent> getAll();
    /**
     * 根据id
     * @return
     */
    TestStudent getStudentById(Long id);
    /**
     * 获取QueryWrapper对象
     * @return QueryWrapper对象
     */
    QueryWrapper<TestStudent> getQueryWrapper();

    /**
     * 获取Lambda形式的Wrapper对象
     * @return Lambda形式的Wrapper对象
     */
    LambdaQueryWrapper<TestStudent> getLambdaWrapper();
}
